package com.dkd.manage.domain.Dto;

import com.dkd.manage.domain.Order;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author ZhangZhongGen
 */
@Data
public class OrderDto extends Order {
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}
